<?php
namespace app\common\validate;
use think\Validate;
class ShopBank extends Validate
{
    protected $rule    = [
    	'user_name' => 'require',
    	'bank_name' => 'require',
    	'bank_wangdian' => 'require',
        'bank_no' => 'require|length:16,21',
    ];
    protected $message = [
        'user_name.require' => '请输入开户名',
        'bank_name.require' => '请输入开户行',
        'bank_wangdian.require' => '请输入开户网点',
        'bank_no.require' => '请输入卡号',
        'bank_no.length' => '银行卡号格式不正确',
    ];
}
